home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Alde ADA 1: #1
/
CCCC 8804 Volume 1 Number 1 - Alde.iso
/
C
/
MISC
/
ZED
/
STEVIE.ARC
/
REGEXP.ARC
/
REGERROR.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1987-09-13
|
359 b
|
20 lines
#include <stdio.h>
void
regerror(s)
char *s;
{
#ifdef ERRAVAIL
error("regexp: %s", s);
#else
fprintf(stderr, "regexp(3): %s\n", s);
exit(1);
/*
note: if the program using regexp(3) wants to handle the regexp
errors, comment out the above and use this
*/
return; /* let using program handle errors */
#endif
/* NOTREACHED */
}